﻿<UserControl
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:cal="http://www.caliburnproject.org" x:Class="CI.Views.Industry.IndustrySheetOptionsView" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
	<UserControl.Resources>
		<DataTemplate x:Key="SearchResultTemplate">
			<Grid>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="*"/>
				</Grid.ColumnDefinitions>
				<TextBlock Grid.Column="0" FontSize="14" TextWrapping="Wrap" Text="{Binding TypeName}" d:LayoutOverrides="Width, Height"/>
			</Grid>
		</DataTemplate>
	</UserControl.Resources>
		<Grid>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="25	" />
				<ColumnDefinition Width="Auto" />
				<ColumnDefinition Width="Auto"/>
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="25	" />
			</Grid.ColumnDefinitions>
			<Grid.RowDefinitions>
				<RowDefinition Height="Auto"/>
				<RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
				<RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
				<RowDefinition Height="Auto"/>
				<RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
				<RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
			<TextBox Padding="2,2,10,2" Width="50" TextWrapping="Wrap" Text="{Binding DefaultBlueprintMeLevel}" d:LayoutOverrides="Width, Height" Grid.Row="2" Grid.Column="2"/>
            <TextBox Padding="2" Width="50" TextWrapping="Wrap" Text="{Binding DefaultBlueprintPeLevel}" d:LayoutOverrides="Width, Height" Grid.Row="2" Grid.Column="3" HorizontalAlignment="Left" Margin="5,0,0,0"/>
			<TextBlock TextWrapping="Wrap" Text="ME" d:LayoutOverrides="Width, Height" Grid.Column="2" Grid.Row="1"/>
			<TextBlock TextWrapping="Wrap" Text="PE" d:LayoutOverrides="Width, Height" Grid.Row="1" Grid.Column="3" Margin="5,0,0,0"/>
			<CheckBox IsChecked="{Binding Path=ResearchTech1Blueprints}" Content="Research Tech I Blueprints" d:LayoutOverrides="Width, Height" Grid.ColumnSpan="3" Grid.Row="3"/>
			<TextBlock TextWrapping="Wrap" Text="Blueprint Options" d:LayoutOverrides="Width, Height" Grid.ColumnSpan="4"/>
			<CheckBox IsChecked="{Binding Path=BuyTech2Blueprints}" Content="Buy Tech II Blueprints" d:LayoutOverrides="Width, Height" Grid.Row="4" Grid.ColumnSpan="3" VerticalAlignment="Center"/>
			<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" d:LayoutOverrides="Height" Grid.Row="5" Grid.ColumnSpan="2" Text="Default Output Job" VerticalAlignment="Center"/>
			<TextBlock TextWrapping="Wrap" Text="Default Input Job" HorizontalAlignment="Left" d:LayoutOverrides="Height" Grid.Row="6" Grid.ColumnSpan="2" VerticalAlignment="Center"/>
			<ComboBox SelectedItem="{Binding DefaultUnassignedProductionOutputJob}" ItemsSource="{Binding AllJobs}" Grid.ColumnSpan="2" d:LayoutOverrides="Height" Grid.Row="5" Grid.Column="2"/>
			<ComboBox SelectedItem="{Binding DefaultMissingProductionInputJob}" ItemsSource="{Binding AllJobs}" Grid.ColumnSpan="2" d:LayoutOverrides="Height" Grid.Row="6" Grid.Column="2"/>
			<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Manufacturing Options" d:LayoutOverrides="Height" Grid.Row="7" Grid.ColumnSpan="3"/>
			<CheckBox IsChecked="{Binding ManufactureTech2Components}" Content="Tech II Components" HorizontalAlignment="Left" d:LayoutOverrides="Height" Grid.Row="8" Grid.ColumnSpan="4"/>
			<CheckBox IsChecked="{Binding ManufactureTech3Components}" Content="Tech III Components" HorizontalAlignment="Left" d:LayoutOverrides="Height" Grid.Row="9" Grid.ColumnSpan="4"/>			
			<CheckBox IsChecked="{Binding ManufactureCapitalComponents}" Content="Capital Components" HorizontalAlignment="Left" d:LayoutOverrides="Height" Grid.Row="10" Grid.ColumnSpan="4"/>
			<CheckBox Content="Mine Minerals" HorizontalAlignment="Left" d:LayoutOverrides="Height" Grid.Row="12" Grid.ColumnSpan="3" IsChecked="{Binding MineMinerals}"/>
			<CheckBox Content="Manufacture PI Components" HorizontalAlignment="Left" d:LayoutOverrides="Height" Grid.Row="13" Grid.ColumnSpan="4" IsChecked="{Binding ManufacturePIComponents}"/>
			<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" d:LayoutOverrides="Height" Grid.Row="14" Grid.ColumnSpan="2" VerticalAlignment="Center"><Run Text="Min. PI Manufacturing"/></TextBlock>
			<ComboBox Grid.ColumnSpan="2" d:LayoutOverrides="Height" Grid.Row="14" Grid.Column="2" ItemsSource="{Binding PIManufacturingLevels}" SelectedItem="{Binding LowestPIManufacturingLevel}"/>
			<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Default Blueprint Levels" d:LayoutOverrides="Height" Grid.Row="2" Grid.ColumnSpan="2"/>
		</Grid>

</UserControl>
